package com.partvoyage.client.service.infopoint;

import java.util.Date;
import java.util.List;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
import com.partvoyage.shared.InfoPointBean;

/**
 * The client side stub for the RPC service.
 */
@RemoteServiceRelativePath("infoPoint")
public interface InfoPointService extends RemoteService {

	String greetServer(String name) throws IllegalArgumentException;

	InfoPointBean create(Long projetCourantId, Double latitude,
			Double longitude, String comment, String commentaire, String cout,
			String avecQui, Date quand, String ou, String codePays,
			Integer zoomLevel, Long markerIdDesination) throws Exception;

	InfoPointBean update(InfoPointBean infoPointBean) throws Exception;

	// List<InfoPointBean> findAll();

	InfoPointBean findById(Long markerId) throws Exception;

	void deleteAllByProjetId(Long projetId);

	List<InfoPointBean> findAllByProjetId(Long projetId);

	String getPlaceName(Double latitude, Double longitude);

	void supprimerPoint(Long infoPointId);

	List<String> getImgFromFriends(String where);
}
